package com.gxuwz.Market.business.service;


import java.util.List;

import com.gxuwz.Market.business.entity.ServiceAcademy;
import com.gxuwz.core.pagination.Result;

/**
 * <p>Title: 类名：班级-业务逻辑--接口</p>
 * <p>Description:mailsender-业务逻辑/n</p>
 * @author:	梧州学院 软件开发中心 庞光垚
 * @date:2015.07.31
 */
public interface IServiceAcademyService {
	
	/**
	 * 根据班级编号查询班级对象
	 * @param userid 班级编号
	 * @return 班级对象
	 */
	public ServiceAcademy findById(int id);
	
	public List<ServiceAcademy> findAll();
	
	/**
	 * 根据条件查找分页
	 * @param serviceAcademy
	 * @param page
	 * @param row
	 * @return
	 */
	public Result<ServiceAcademy> find(ServiceAcademy serviceAcademy,int page, int size);
	/**
	 * 根据字段值查找班级
	 * @param property
	 * @param value
	 * @return
	 */
	public List<ServiceAcademy> findByProperty(String property, String value);
	/**
	 * 添加
	 * @param serviceAcademy
	 */
	public void add(ServiceAcademy serviceAcademy);
	/**
	 * 删除
	 * @param serviceAcademy
	 */
	public void delete(int id);
	/**
	 * 修改
	 * @param serviceAcademy
	 */
	public void update(ServiceAcademy serviceAcademy);
    
}
